package cn.kgc.springcloud.service.impl;

import cn.kgc.springcloud.service.SentinelService;
import org.springframework.stereotype.Service;

/**
 * @author 课工场
 * @date 2024/7/26
 * @description
 */
@Service
public class SentinelServiceImpl implements SentinelService {

    // @SentinelResource(value = "m3",fallback ="method3Fallback" )
    @Override
    public String method3() {
        return "SentinelServiceImpl ok";
    }

    public String method3Fallback() {
        return "SentinelServiceImpl method3 flow limit";
    }
}
